import React from 'react';
import { useRoutes } from 'react-router-dom';
import config from './config';

export default function AppRouter() {
  return <div>{useRoutes(config)}</div>;
}
